# encoding: utf8
'''
Created on 2015-5-20

@author: robbin
'''


class WxPayConf_pub(object):
    """配置账号信息"""

    # def update_setting(self, **kwargs):
    #     for k, v in kwargs.items():
    #         setattr(self, k, v)

    # =======【基本信息设置】=====================================
    # 微信公众号身份的唯一标识。审核通过后，在微信发送的邮件中查看
    APPID = "wxf9bc01d4680470e0"
    # JSAPI接口中获取openid，审核后在公众平台开启开发模式后可查看
    APPSECRET = "bda1c9380d774c5f0d82df0f5f483747"
    # 接口配置token
    TOKEN = "m48ZRbvR7JrfVUUO5VvSe1Ezo7cCvUr2"

    # 受理商ID，身份标识
    MCHID = "1455194802"
    # 商户支付密钥Key。审核通过后，在微信发送的邮件中查看
    KEY = "a44646147671780485b943a77e32b542"


    # =======【异步通知url设置】===================================
    # 异步通知url，商户根据实际开发过程设定
    NOTIFY_URL = "http://yousi.pypyhc.com/user/wechat_pay_notify"

    # =======【证书路径设置】=====================================
    # 证书路径,注意应该填写绝对路径
    SSLCERT_PATH = "/******/cacert/apiclient_cert.pem"
    SSLKEY_PATH = "/******/cacert/apiclient_key.pem"

    # =======【curl超时设置】===================================
    CURL_TIMEOUT = 30

    # =======【HTTP客户端设置】===================================
    HTTP_CLIENT = "CURL"  # ("URLLIB", "CURL")



